package com.wench.spring5.service;

import com.wench.spring5.dao.UserDao;

/**
 * @author epro
 * @date 2021/12/31 14:01
 */
public class UserService {

    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void add(){
        System.out.println("user service add()...");
        userDao.update();
    }
}
